﻿<?php get_header(); ?>
		<section class="content_wrapp">
				<section class="content_area">
					<h2 class="news_line category_line"><span><?php single_cat_title(); ?></span></h2>
				<?php if(have_posts()) :?>
				<?php while(have_posts()) : the_post();?>
					<article class="main_posts">
						<a class="border_posts" href="#" title="Duis arcu odio">
							<?php the_post_thumbnail('thumb-size-4');?>
							<span class="main_border"></span>
						</a>
						<div class="main_part">
							<a href="<?php the_permalink(); ?>" title="Новая версия шаблона My WordPress Blog"><?php the_title(); ?></a>
							<span class="news_date"><a href="<?php the_permalink(); ?>" title=""><?php the_time('m.d.Y'); ?></a></span>
							<span class="news_autor"><a href="<?php the_permalink(); ?>" title=""><?php the_author(); ?></a></span>
							<span class="news_category">Рубрика: <a href="<?php the_permalink(); ?>" title=""><?php the_category(', '); ?></a></span>
							<?php the_excerpt(); ?>
							<span class="news_tags"><?php the_tags(); ?>							</span>
							<span class="news_coments"><a href="<?php the_permalink(); ?>/#comments" title=""><?php comments_number(0, 1, '%'); ?> 		
								комментариев</a></span>
							<span class="news_views"><a href="<?php the_permalink(); ?>" title="1560 просмотров">1560 просмотров</a></span>	
							<a class="news_more" href="<a href="<?php the_permalink(); ?>" title="Подробнее">Подробнее</a>							
						</div>
						<div class="article_line"></div>
					</article>
				<?php endwhile; ?>
				<?php endif; ?>					
				<?php if (function_exists('wp_corenavi')) wp_corenavi(); ?>			
			</section>
			<?php get_sidebar(); ?>
		</section>
	</div>
<?php get_footer(); ?>